cmake_minimum_required(VERSION 2.8)  
project( opencv100 )  
INCLUDE_DIRECTORIES(include)
AUX_SOURCE_DIRECTORY(src DIR_SRCS)
find_package( OpenCV REQUIRED )  
add_executable( opencv100 ./src/opencv100.cpp ./src/main.cpp )  
target_link_libraries( opencv100 ${OpenCV_LIBS} )